import React from "react";
import HelloWorld from "./components/HelloWorld";

export default class App extends React.Component {
    constructor(props) {
        super(props);
        this.state = {
            message: "Hello React"
        }
    }

    render() {
        const {message} = this.state
        console.log("App render")
        return (
            <div>
                <h2>{message}</h2>
                <HelloWorld/>
            </div>
        )
    }
}

